﻿using Abp.Application.Features;
using Abp.Localization;
using Mt.Site;

namespace Mt.Site.Core.AccessStatistics.Features
{
    public class ASFeatureProvider : FeatureProvider
    {
        public override void SetFeatures(IFeatureDefinitionContext context)
        {
            var InfoFeature = context.Create(
                                ASFeatures.ASFeature,
                                defaultValue: "false",
                                displayName: L("AccessStatistics")
                            );
        }

        private static ILocalizableString L(string name)
        {
            return new LocalizableString(name, MtSiteConsts.LocalizationSourceName_Feature);
        }
    }
}
